<template>
  <Test v-if="stuListTmp.length > 0"></Test>
</template>

<script>

import Test from "@/components/Test"
import APIHelper from "@/util/APIHelper";

export default {
  name: "TestView",
  components: {
    Test
  },
  computed: {
    stuListTmp() {
      return this.$store.state.stuListTmp
    },
  },
  data () {
    return {

    }
  },
  created() {
    let that = this
    APIHelper.getMockStaticData().then(result=>{
      that.$store.commit('setStuListTmp', result.StuList)
    })
  },
  watch: {
  },
  methods: {
  },
}
</script>
